﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="ChangePass.aspx.cs" Inherits="ChangePass" Title="用户密码修改" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder" runat="Server">
    <h1 id="pagetitle" class="pagetitle">
        用户密码修改
        <asp:UpdateProgress ID="UpdateProgress1" runat="server">
            <ProgressTemplate>
                <div class="anistyle" id="ani">
                    正在加载数据，请耐心等待...
                </div>
            </ProgressTemplate>
        </asp:UpdateProgress>
    </h1>

    <script type="text/javascript">
        function SelectItem(obj)
        {
            window.returnValue=obj; 
            self.close();
        }
    </script>

    <asp:UpdatePanel ID="UpdatePanel" runat="server">
        <ContentTemplate>
            <div runat="server" id="divResult" class="divResult">
                <asp:Label ID="OperationResult" CssClass="result" runat="server" Text=""></asp:Label>
            </div>
            <div class="InfoArea">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td style="height: 1px; background-color: #F0F0F0;" colspan="2">
                        </td>
                    </tr>
                    <tr>
                        <td style="width:30%;height:24px;" align="right">
                            原密码：&nbsp;&nbsp;
                        </td>
                        <td>
                            <asp:TextBox ID="txtOldPass" runat="server" MaxLength="12" TextMode="Password" Width="400px" Height="18px" Font-Size="Medium"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style="height: 1px; background-color: #F0F0F0;" colspan="2">
                        </td>
                    </tr>
                    <tr>
                        <td style="height:24px;" align="right">
                            新密码：&nbsp;&nbsp;
                        </td>
                        <td>
                            <asp:TextBox ID="txtNewPass" runat="server" MaxLength="12" TextMode="Password" Width="400px" Height="18px" Font-Size="Medium"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style="height: 1px; background-color: #F0F0F0;" colspan="2">
                        </td>
                    </tr>
                    <tr>
                        <td style="height:24px;" align="right">
                            确认新密码：&nbsp;&nbsp;
                        </td>
                        <td>
                            <asp:TextBox ID="txtNewPassConfirm" runat="server" MaxLength="12" TextMode="Password" Width="400px" Height="18px" Font-Size="Medium"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style="height: 1px; background-color: #F0F0F0;" colspan="2">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center" height="40px" valign="middle">
                            <asp:Button ID="btnChange" runat="server" OnClick="btnChange_Click" Text="修改密码" Width="110px" />
                        </td>
                    </tr>
                </table>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
